Skip to content

Backspace will remove most recent tag if current input is empty#86

Open
Manas-Nagelia wants to merge 1 commit intoJaleelB:mainfrom
Manas-Nagelia:main
Open

Backspace will remove most recent tag if current input is empty#86
Manas-Nagelia wants to merge 1 commit intoJaleelB:mainfrom
Manas-Nagelia:main

Conversation

@Manas-Nagelia
Copy link
Copy Markdown

Added a useEffect to update activeTagIndex so that if you backspace when the current input is empty it will delete the most recent tag. Before my commit, to use the backspace to remove an item, you would have to use the arrow key to move to the left tag and then delete it. My implementation allows the user to delete the most recent tag as long as the current topic they are typing in is empty.

Added useEffect to update activeTagIndex so that if you backspace when the current input is empty it will backspace the most recent tag.
@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 23, 2024

@Manas-Nagelia is attempting to deploy a commit to the jaleelb's projects Team on Vercel.

A member of the Team first needs to authorize it.

@HansBhatia
Copy link
Copy Markdown

@Manas-Nagelia might be better to add this as a prop since it's new functionality.
@JaleelB can we get this merged in?

@scottgigante-hubflow
Copy link
Copy Markdown

Please merge this! It is much needed functionality

@Steveb599
Copy link
Copy Markdown

Will it be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants